<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <script>

        // 数组  Array  就是一个类

        //   [1,2,3]

        //   属性：length
        //   方法:   push   pop ....




        // 单个的创建对象 --- 无法批量生产
        const obj = {
            name: 'cc',
            say: function () {

                console.log('hello world');
            }
        }

        const obj2 = {
            name: 'yy',
            say: function () {

                console.log('hello world');
            }
        }



    </script>

</body>

</html>